package com.example.easydownloadback.domin;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("file")
@ToString
public class File {
    @TableId(value = "id")
    private String id;
    @TableField(value = "nick_name")
    private String nickName;
    @TableField(value = "file_version")
    private String fileVersion;
    @TableField(value = "file_size")
    private String fileSize;
    @TableField(value = "file_icon")
    private String fileIcon;
    @TableField(value = "file_url")
    private String fileUrl;
    @TableField(value = "file_profile")
    private String fileProfile;
    @TableField(value = "create_time")
    private LocalDateTime createTime;
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
    @TableField(exist = false)
    private List<String> types;
    @TableField(exist = false)
    private String downloadNum;
}
